<?php
namespace Amis\other;

use Amis\Basics\AmisBasics;

class Tpl extends AmisBasics
{
    public string $type = 'tpl';

    public function className($className)
    {
        $this->className = $className;
        return $this;
    }

    public function inline($inline)
    {
        $this->inline = $inline;
        return $this;
    }

    /**
     * html 字符串
     * @param string $tpl
     * @return $this
     */
    public function tpl(string $tpl)
    {
        $this->tpl = $tpl;
        return $this;
    }
}